package com.example.constant;

/**
 * @author yinxin
 * @version 1.0
 * @Description:
 * @date 2022/6/418:29
 */
public class RedisKey {

    /**
     * 验证码缓存key，第一个是类型，第二个是唯一标识比如手机号或者邮箱
     */
    public static final String CHERK_CODE_KEY = "code:%s:%s";

    /**
     * 提交订单令牌的缓存key
     */
    public static final String SUBMIT_ORDER_TOKEN_KEY = "order:submit:%s:%s";

    /**
     * 1天的可用总流量包
     */
    public static final String DAY_TOTAL_TRAFFIC = "lock:traffic:day_total:%s";
}
